github.com/refraction-networking/utls.clientHelloMsg.keyShares (field)
25 uses
github.com/refraction-networking/utls (current package)
handshake_client.go#L181: hello.keyShares = []keyShare{
handshake_client.go#L188: hello.keyShares = append(hello.keyShares, keyShare{group: X25519, data: x25519EphemeralKey})
handshake_client.go#L198: hello.keyShares = []keyShare{{group: curveID, data: keyShareKeys.ecdhe.PublicKey().Bytes()}}
handshake_client_tls13.go#L63: if hs.keyShareKeys == nil || hs.keyShareKeys.ecdhe == nil || len(hs.hello.keyShares) == 0 {
handshake_client_tls13.go#L333: if slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_client_tls13.go#L354: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L401: ks.KeyShares = keyShares(hs.hello.keyShares).ToPublic()
handshake_client_tls13.go#L455: hs.hello.keyShares = hello.keyShares
handshake_client_tls13.go#L528: if !slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_messages.go#L94: keyShares []keyShare
handshake_messages.go#L289: if len(m.keyShares) > 0 {
handshake_messages.go#L297: for _, ks := range m.keyShares {
handshake_messages.go#L651: m.keyShares = append(m.keyShares, ks)
handshake_messages.go#L740: keyShares: slices.Clone(m.keyShares),
handshake_server_tls13.go#L217: for _, ks := range hs.clientHello.keyShares {
handshake_server_tls13.go#L233: for _, ks := range hs.clientHello.keyShares {
handshake_server_tls13.go#L644: if len(clientHello.keyShares) != 1 {
handshake_server_tls13.go#L648: ks := &clientHello.keyShares[0]
u_conn.go#L575: inner.keyShares = KeyShares(uconn.HandshakeState.Hello.KeyShares).ToPrivate()
u_public.go#L418: keyShares: KeyShares(chm.KeyShares).ToPrivate(),
u_public.go#L469: KeyShares: keyShares(chm.keyShares).ToPublic(),
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |